package com.greensam.pixelengine.pojo.vo.space.request;

import com.greensam.pixelengine.pojo.base.BaseDto;
import com.greensam.pixelengine.pojo.emuns.StatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @author Ma Chengrui
 * @since 2025/7/31 18:08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(title = "用户编辑空间请求参数")
public class SpaceEditRequest extends BaseDto {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "空间ID")
    @NotNull(message = "空间ID不能为空")
    private Long id;

    @Schema(title = "空间名称")
    private String name;

    @Schema(title = "空间描述")
    private String description;

    @Schema(title = "空间状态")
    private StatusEnum status;

}
